package com.woniuxy.service;

import com.woniuxy.entity.*;
import com.woniuxy.util.Page;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface DetailService {
    void saveDetailAndImg(Communicate communicate, ArrayList<Img> imgs) throws Exception;

    int queryCanSeeDetailCount(Integer userId, Integer campId) throws Exception;

    List<Map<String, Object>> queryCanSeeDetailLimit(Page page, Integer userId, Integer campId) throws Exception;

    void saveOrDeleteIsLike(PointLike pointLike, Integer islike) throws Exception;

    void saveDetialContent(CommunicateComment communicateComment, CommunicateContext communicateContext) throws Exception;
}
